﻿
//

//


namespace EMSNet.Service;

/// <summary>
/// 仪表管理输出参数
/// </summary>
public class EmsDeviceDto
{
    /// <summary>
    /// 采集点编码
    /// </summary>
    public string PollPointCodeFkColumn { get; set; }
    
    /// <summary>
    /// 主键Id
    /// </summary>
    public long Id { get; set; }
    
    /// <summary>
    /// 租户Id
    /// </summary>
    public long? TenantId { get; set; }
    
    /// <summary>
    /// 创建时间
    /// </summary>
    public DateTime? CreateTime { get; set; }
    
    /// <summary>
    /// 更新时间
    /// </summary>
    public DateTime? UpdateTime { get; set; }
    
    /// <summary>
    /// 创建者Id
    /// </summary>
    public long? CreateUserId { get; set; }
    
    /// <summary>
    /// 创建者姓名
    /// </summary>
    public string? CreateUserName { get; set; }
    
    /// <summary>
    /// 修改者Id
    /// </summary>
    public long? UpdateUserId { get; set; }
    
    /// <summary>
    /// 修改者姓名
    /// </summary>
    public string? UpdateUserName { get; set; }
    
    /// <summary>
    /// 创建者部门Id
    /// </summary>
    public long? CreateOrgId { get; set; }
    
    /// <summary>
    /// 创建者部门名称
    /// </summary>
    public string? CreateOrgName { get; set; }
    
    /// <summary>
    /// 软删除
    /// </summary>
    public bool IsDelete { get; set; }
    
    /// <summary>
    /// 采集点编码
    /// </summary>
    public string? PollPointCode { get; set; }
    
    /// <summary>
    /// 仪器编号
    /// </summary>
    public string? DeviceCode { get; set; }
    
    /// <summary>
    /// 设备名称
    /// </summary>
    public string? DeviceName { get; set; }
    
    /// <summary>
    /// 协议
    /// </summary>
    public string? ProtoType { get; set; }
    
    /// <summary>
    /// IP/DIR
    /// </summary>
    public string? Address { get; set; }
    
    /// <summary>
    /// Port
    /// </summary>
    public string? Port { get; set; }
    
    /// <summary>
    /// RequestMsg
    /// </summary>
    public string? RequestMsg { get; set; }
    
    /// <summary>
    /// MsgSlavel
    /// </summary>
    public string? MsgSlavel { get; set; }
    
    /// <summary>
    /// 偏移公式
    /// </summary>
    public string? OffsetFunction { get; set; }
    
    /// <summary>
    /// 偏移系数
    /// </summary>
    public string? OffsetPercent { get; set; }
    
    /// <summary>
    /// 偏移量
    /// </summary>
    public string? OffsetDataVale { get; set; }
    
    /// <summary>
    /// 数据类型
    /// </summary>
    public string? DataType { get; set; }
    
    /// <summary>
    /// 数据格式
    /// </summary>
    public string? DataFormat { get; set; }
    
    /// <summary>
    /// 值
    /// </summary>
    public string? DataValue { get; set; }
    
    /// <summary>
    /// 仪表值
    /// </summary>
    public string? DeviceValue { get; set; }
    
    /// <summary>
    /// 读表时间
    /// </summary>
    public string? ReadTime { get; set; }
    
    /// <summary>
    /// 状态
    /// </summary>
    public string? Status { get; set; }
    
}
